package behavioral.chain_of_responsibility.impl2;

/**
 * @ClassName: MainTest
 * @Description: 测试类
 * @Author: liu-hao
 * @Date: 2023-04-09 16:39
 * @Version: 1.0
 **/
public class MainTest {

    public static void main(String[] args) {
        HandlerChain handlerChain = new HandlerChain();
        handlerChain.addHandler(new FirstPassHandler()).addHandler(new SecondPassHandler());
        handlerChain.handle();
    }
}
